﻿/*
 * Autor: Angel Sullon 2011, UNASP Campus1-Sao Paulo
 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace OpenSda.Agilcont.Common.Data.Entities
{
    public class EntityGuidBase
    {
        

        public virtual Guid Identity { get; set; }

        public override bool Equals(object obj)
        {
            return (obj as EntityGuidBase).Identity == this.Identity;
        }

        public override int GetHashCode()
        {  
            return base.GetHashCode();
        } 
    }
}